# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit mono subversion libtool autotools eutils

DESCRIPTION="A plugin for Banshee Music Player that will allow people to view their album cover images in 3D"
HOMEPAGE="http://fleow.berlios.de/"

ESVN_REPO_URI="svn://svn.berlios.de/fleow/trunk"
ESVN_PROJECT="${PN}"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86 ~ppc ~amd64"
IUSE=""

DEPEND=">=dev-lang/mono-0.91
	media-sound/banshee
	>dev-dotnet/tao-opengl-2.0
	=dev-dotnet/gtkglarea-sharp-9999"

src_unpack(){
	subversion_src_unpack
	epatch "${FILESDIR}/fleow-cleanup.patch"
}

src_compile(){
	cd ${S}
	./autogen.sh
	econf
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS ChangeLog NEWS README TODO
}
